package com.woniuxy.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


/*
@author Jan
@create 2020-05-20 19:00

*/ 
   
@Data
public class ProductComment {
    private Integer id;

    /**
    * 商品id
    */
    private Integer proId;

    private Integer userId;

    /**
    * 评论时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date time;

    /**
    * 评论内容
    */
    private String comment;
    //刘家安
    private  User user;
}